From: Jesper Juhl Date: Sat, 20 Oct 2007 00:44:34 +0000 (+0200) Subject: Fix compiler warning in smount example program from sharedsubtree.txt X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~33129^2~8 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=2de206d8f09c8b01d3721f860c28258838953a18;p=linux-4.9.git Fix compiler warning in smount example program from sharedsubtree.txt If one compiles the example smount program, found in Documentation/sharedsubtree.txt, with -Wall then there's a small compiler warning rearing its ugly head : smount.c: In function 'main': smount.c:45: warning: implicit declaration of function 'strcmp' Easily fixed by just including string.h Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk --- diff --git a/Documentation/sharedsubtree.txt b/Documentation/sharedsubtree.txt index ccf1cebe744f..736540045dc7 100644 --- a/Documentation/sharedsubtree.txt +++ b/Documentation/sharedsubtree.txt @@ -153,6 +153,7 @@ replicas continue to be exactly same. #include #include #include + #include #include #include